# -*- coding: utf-8 -*-
"""
Created on Sun Sep 19 21:24:57 2021

@author: 刘长奇-2019300677
"""
import numpy as np
plate=np.zeros((8,8))
for i in range(0,8,2):
    for j in range(0,8,2):
        plate[i][j]=1#将棋盘格奇数行附上白色
for k in range(1,8,2):
    for l in range(1,8,2):
        plate[k][l]=1#将棋盘格偶数行附上白色
print(plate)
